import 'package:flutter/material.dart';

class Space extends StatelessWidget {
  final double width;
  final double height;

  const Space({
    Key key,
    this.width = 1,
    this.height = 1,
  }) : super(key: key);

  const Space.height(double height) : this(width: 1, height: height);

  const Space.width(double width) : this(width: width, height: 1);

  @override
  Widget build(BuildContext context) {
    return Container(
      width: width,
      height: height,
    );
  }
}
